#ifndef __win32GLContext__h__included__
#define __win32GLContext__h__included__

#include <windows.h>

namespace neiderra { 
	namespace gui {

		//! Wrapper for win32 GL context operations
		class win32GLContext
		{
		public:

			win32GLContext();
			virtual ~win32GLContext();

			virtual void init(HWND hWnd);

			virtual void purge();

		private:

			void reset()
			{
				mhWnd = 0;
				mhDC = 0;
				mhRC = 0;
			}

			HWND mhWnd;
			HDC mhDC;
			HGLRC mhRC;

		};

	}
}

#endif
